import http from "http"
import url from "url"

const serve = http.createServer((req, res) => {

	res.writeHead(200, {
		"Content-Type": "text/html;charset=utf-8",
		"access-control-allow-origin": "*" // 白名单
	})
	res.end()
}).listen(3000, () => {
	console.log("server start")
})
